/**
 * @Author: Bobby
 * @Date: 2022-01-08 20:05:49
 * @LastEditTime: 2022-01-09 20:48:52
 * @LastEditors: Bobby
 * @Description:
 * @FilePath: \wms-v2\src\project\bqms\api\home.js
 * @CIMC-V2
 */
import request from '@/utils/request'

export async function getList(url, data) {
  return request({
    url: url,
    method: 'post',
    data: data,
  })
}
export async function upload(url, data, headers) {
  return request({
    url: url,
    method: 'post',
    data: data,
    headers: headers,
  })
}

export async function download(url, data) {
  return request({
    url: url,
    method: 'post',
    data: data,
    responseType: 'blob',
  })
}
